package com.kim.useroauth.server.requst;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 微信授权登录DTO
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "ReqWeChatLoginDTO", description = "微信授权登录DTO")
public class ReqWeChatLoginDTO extends ReqAuthDTO {

    @NotBlank(message = "微信授权登录unionId值为空")
    @ApiModelProperty(value = "微信 unionId",required = true)
    private String unionId;

}
